//
//  XLGHTTPProtocolBase.h
//  etionCBLogic
//
//  Created by wjxfhxy on 15-4-10.
//  Copyright (c) 2015年 GuangZhouXuanWu. All rights reserved.
//

#import "ProtocolBase.h"

#import "XLGHTTPMethodType.h"

typedef NSDictionary*(^requestProtocolHead)(NSDictionary* requestHead);

typedef void(^writeRequestProtocolBlock)(NSString *URI,XLGHTTPMethodType method,requestProtocolHead requestHeadBlock,NSDictionary *jsonDictionary,NSData *jsonData);

@interface XLGHTTPProtocolBase : CProtocolBase

- (void)writeRequestProtocol:(writeRequestProtocolBlock)protocol;

- (void)readResponseProtocol:(NSDictionary *)jsonDictionary output:(NSObject **)obj;

@end
